﻿using System.Reflection;
using log4net;

namespace MvcForum.Net.Bussiness
{
    public class LoggingService : ILoggingService
    {

        private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
        public void Log(string message)
        {
            log.Info(message);
        }


    }
    public interface ILoggingService
    {
        void Log(string message);
    }
}
